﻿using System;

namespace Web7.Mvc.ViewModels
{
    public class ExceptionWeb7ViewModel : Web7ViewModel
    {
        public ExceptionWeb7ViewModel(Web7ViewModel model, Exception exception)
        {
            SyncViewModel(model);

            Exception = exception;
        }

        public Exception Exception { get; private set; }
    }
}
